using System;

namespace Elephant.Framework
{
    /// <summary>
    /// Represents the EventArgs that are passed along when an event involving an entity is raised.
    /// </summary>
    public class EntityEventArgs : EventArgs
    {
        Entity entity;

        public EntityEventArgs(Entity entity)
        {
            this.entity = entity;
        }

        public Entity Entity
        {
            get
            {
                return entity;
            }
        }
    }
}
